package com.kmxd.ams.client.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 登录实体类
 *
 * @author admin
 */
@Data
@Schema(description = "登录实体类")
public class LoginDTO {

  @NotBlank(message = "授权类型:WEB账号密码登录，IdCard:身份证登录模式,RFID:卡片登录")
  @Schema(description = "授权类型")
  String grantType;

  @Schema(description = "用户名")
  String username;

  @Schema(description = "密码")
  String password;

  @Schema(description = "手机号")
  String mobile;

  @Schema(description = "验证码")
  //  @NotBlank(message = "验证码不能为空")
  String verCode;

  @Schema(description = "验证码key")
  //  @NotBlank(message = "验证码key")
  String verKey;
}
